
package net.wicp.tams.common.spring.autoconfig.property;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author andy.zhou
 */
@Configuration
public class TamsConfigBootstrapConfiguration {

	@Configuration
	@EnableConfigurationProperties
	protected static class TamsPropertySourceConfiguration {

		@Bean
		public TamsPropertySource consulPropertySourceTams() {
			return new TamsPropertySource();
		}
	}
}
